package se.webbzon.boltzmann.editor.component.sequence.panel.factory;

import se.webbzon.boltzmann.editor.component.sequence.panel.AbstractRowPanel;
import se.webbzon.boltzmann.editor.component.sequence.panel.SimpleDialogueRowPanel;
import se.webbzon.boltzmann.game.sequence.builder.AbstractSequenceRow;
import se.webbzon.boltzmann.game.sequence.builder.dialogue.SimpleDialogueRow;

public class SimpleDialogueRowPanelFactory extends AbstractRowPanelFactory {
	
	/*============================================================
	Constructors
	============================================================*/

	public SimpleDialogueRowPanelFactory() {
		super(SimpleDialogueRow.name);
	}

	/*============================================================
	Public Methods
	============================================================*/

	@Override public AbstractRowPanel makeNew(AbstractSequenceRow body) {
		return new SimpleDialogueRowPanel((SimpleDialogueRow) body);
	}	
	
}
